﻿using System.Web.UI;
using System.Web.UI.WebControls;

namespace SouthernLand.Common
{
    [ParseChildren(true)]
    public class PageSizeDDL : DropDownList
    {
        // Methods
        public PageSizeDDL()
        {
            Items.Insert(0, new ListItem("5", "5"));
            Items.Insert(1, new ListItem("10", "10"));
            Items.Insert(2, new ListItem("20", "20"));
            Items.Insert(3, new ListItem("50", "50"));
            Items.Insert(4, new ListItem("100", "100"));
            SelectedValue = "10";
            base.Attributes.Add("style", "font-size:10px;");
        }
    }
}